package com.edu.cqr.web.demo.mapper;

import com.edu.cqr.web.demo.model.RoomType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoomTypeMapper {
    int deleteByPrimaryKey(Long roomTypeNum);

    int insert(RoomType record);

    int insertSelective(RoomType record);

    RoomType selectByPrimaryKey(Long roomTypeNum);

    int updateByPrimaryKeySelective(RoomType record);

    int updateByPrimaryKey(RoomType record);

    Long findRoomTypeNumByRoomTypeName(@Param("roomTypeName") String RoomTypeName);
}